﻿CREATE TABLE [dbo].[tblReportOrderChanges] (
    [OrderID]    INT           NOT NULL,
    [ts]         TIMESTAMP     NOT NULL,
    [bitfield]   BIT           NULL,
    [CreateDate] SMALLDATETIME NULL
);
GO
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Defines the last update time for an order.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblReportOrderChanges';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'The order number for the record modified.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblReportOrderChanges',
	@level2type = N'COLUMN', @level2name = N'OrderID';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Time stamp.  Time of change.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblReportOrderChanges',
	@level2type = N'COLUMN', @level2name = N'ts';

